projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56c05c4
)
Fix an oversight in the previous commit
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Jun 2015 19:14:54 +0000
(15:14 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 18 Jun 2015 19:14:54 +0000
(15:14 -0400)
We lost the line marking the search model as non-empty, causing
us to show the 'no results' page despite there being results.
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 21596070324a2b4f938b6ef627b0cebcace230af..51ba79e2e63494d1b1da17f559d036ffb7f63bd1 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-6138,6
+6138,9
@@
search_engine_hits_added_cb (GtkSearchEngine *engine,
files = g_list_prepend (files, file);
}
+ if (files)
+ impl->priv->search_model_empty = FALSE;
+
_gtk_file_system_model_add_and_query_files (impl->priv->search_model,
files,
MODEL_ATTRIBUTES);